﻿using SqlSugar;
using System;
using System.Linq;
using System.Text;

namespace _RobotInspection.Entities
{
    ///<summary>
    ///点检项表
    ///</summary>
    public partial class inspection_items
    {
           public inspection_items(){

            this.sort_order =Convert.ToInt32("0");
            this.status =Convert.ToByte("1");
            this.created_at =DateTime.Now;
            this.updated_at =DateTime.Now;

           }
           /// <summary>
           /// Desc:点检项ID
           /// Default:
           /// Nullable:False
           /// </summary>     
           [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
           public long id {get;set;}

           /// <summary>
           /// Desc:所属设备ID
           /// Default:
           /// Nullable:False
           /// </summary>           
           public long equipment_id {get;set;}

           /// <summary>
           /// Desc:点检项名称
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string item_name {get;set;}

           /// <summary>
           /// Desc:点检项描述
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string item_description {get;set;}

           /// <summary>
           /// Desc:标准值
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string standard_value {get;set;}

           /// <summary>
           /// Desc:单位
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string unit {get;set;}

           /// <summary>
           /// Desc:排序序号
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? sort_order {get;set;}

           /// <summary>
           /// Desc:状态：1-启用，0-禁用
           /// Default:1
           /// Nullable:True
           /// </summary>           
           public byte? status {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? created_at {get;set;}

           /// <summary>
           /// Desc:更新时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? updated_at {get;set;}

           /// <summary>
           /// Desc:点检项目/类型
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string item_project {get;set;}

    }
}
